<style>
    .set_table{
        margin-left:10px;
    }
     .set_table tr{
        font-size:20px;
        height:26px;
    }
    .set_hot,.set_img{
        width:12px;
        height:15px;
        background-color:#ED3C45;
        padding:3px;
        font-size:12px;
        margin-right:2px;
        color:white;
    }
    .set_img{
        background-color:#3DC879;
    }
    .set_but,.set_but1{
        height:24px;
        width:45px;
        font-size:20px;
        color:white;
        background-color:#3DC879;
        border:none;
        line-height:22px;
    }
    .set_but1{
        background-color:#ED3C45;
    }
    .file {
    position: relative;
    display: inline-block;
    background: #D0EEFF;
    border: 1px solid #99D3F5;
    border-radius: 4px;
    padding: 4px 12px;
    overflow: hidden;
    color: #1E88C7;
    text-decoration: none;
    text-indent: 0;
    line-height: 20px;
}
.file input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
}
.file:hover {
    background: #AADFFD;
    border-color: #78C3F3;
    color: #004974;
    text-decoration: none;
}
</style>
<div>
     <form action="">
         <table class="table table-striped set_table" >
             <caption>
                 <span style="font-size:22px;height:26px;line-height:26px;font-weight:600">
                     设置
                 </span>
             <tbody style="border-top:35px solid #E0DED6">
            <tr>
                <td style="width:15%">设置图片</td>
                <td>
                     <div ng-repeat="item in thumb" style="display:inline-block;">
                         <!-- 采用angular循环的方式，对存入thumb的图片进行展示 -->
                         <label>
                             <img ng-src="{{item.imgSrc}}" style="width:100px;height:100px;"/>
                        </label>
                     </div>
                     <div >
                         <!-- 这里之所以写个循环，是为了后期万一需要多个‘加号’框 -->
                         <label>
                             <p class="file">
                                 <input  type="file" value="" id="one-input" accept="image/*" file-model="images" onchange="angular.element(this).scope().img_upload(this.files)"/>
                                 选择图片
                             </p>
                         </label>
                     </div>
                 </td>
            </tr>
            <tr>
                <td>欢迎语</td>
                <td>
                    <textarea name="" id="" rows="5" cols="50"  string-to-number ng-model="config.welcomeStr" ></textarea>
                </td>
            </tr>
            <tr>
                <td>

                </td>
                <td style="height:100px">
                    <button ng-click="addADest(config)" style="margin-left:30px;margin-top:30px;height:40px;border-radius:5px;font-size:20px;background-color:#3DC879;color:white;border:none;width:130px">
                        设  置
                    </button>
                </td>
            </tr>
         </tbody>
        
    </table>
     </form>


     
</div>